import request from '@/utils/request'

// 查询报到信息列表
export function listSureInfo(query) {
  return request({
    url: '/business/sureInfo/list',
    method: 'get',
    params: query
  })
}

// 查询报到信息所有列表
export function listAllSureInfo(query) {
  return request({
    url: '/business/sureInfo/listAll',
    method: 'get',
    params: query
  })
}

// 查询报到信息详细
export function getSureInfo(id) {
  return request({
    url: '/business/sureInfo/getInfo/' + id,
    method: 'get'
  })
}

// 新增报到信息
export function addSureInfo(data) {
  return request({
    url: '/business/sureInfo/add',
    method: 'post',
    data: data
  })
}

// 修改报到信息
export function updateSureInfo(data) {
  return request({
    url: '/business/sureInfo/edit',
    method: 'post',
    data: data
  })
}

// 删除报到信息
export function delSureInfo(id) {
  return request({
    url: '/business/sureInfo/remove/' + id,
    method: 'get'
  })
}
